(function () {
  'use strict';

  angular.module('BlurAdmin.pages.staffManage.companyList', [])
    .config(routeConfig);

  /** @ngInject */
  function routeConfig($stateProvider, $urlRouterProvider) {
    $stateProvider
      .state('admin.staffManage.companyList', {
        url: '/companyList',
        template : '<div ui-view></div>',
        title: '公司管理',
        sidebarMeta: {
          order: 1,
        },
      })
      .state('admin.staffManage.companyList.companyList', {
        url: '/companyList',
        templateUrl: 'app/pages/staffManage/companyList/companyList/companyList.html',
        controller: 'CompanyListPageCtrl',
        title: '公司列表',
        parentTitle: '公司管理',
        resolve: {
        }
      })
    ;
    $urlRouterProvider.when('/staffManage/companyList','/staffManage/companyList/companyList');
  }

})();
